textbuffer: Don't try to inset NULL text from clipboard
authorTimm Bäder <mail@baedert.org>
Sat, 19 Sep 2020 16:41:10 +0000 (18:41 +0200)
committerTimm Bäder <mail@baedert.org>
Thu, 24 Sep 2020 17:08:22 +0000 (19:08 +0200)
commit12cc178756b285fd3c5922d3436b45ffe72793bb
treecc6bb6e1355d75bf9c3b3d37f864a2c78fe8540d
parent9eaa8bd1e71bff7112819500ee5c4966d3deed5c
textbuffer: Don't try to inset NULL text from clipboard

That used to generate a critical error message.

Also free() the data.
gtk/gtktextbuffer.c